﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000035 RID: 53
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class ActivityRaidPlacingGameScRsp : IMessage<ActivityRaidPlacingGameScRsp>, IMessage, IEquatable<ActivityRaidPlacingGameScRsp>, IDeepCloneable<ActivityRaidPlacingGameScRsp>, IBufferMessage
	{
		// Token: 0x170000A2 RID: 162
		// (get) Token: 0x06000250 RID: 592 RVA: 0x00007B48 File Offset: 0x00005D48
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<ActivityRaidPlacingGameScRsp> Parser
		{
			get
			{
				return ActivityRaidPlacingGameScRsp._parser;
			}
		}

		// Token: 0x170000A3 RID: 163
		// (get) Token: 0x06000251 RID: 593 RVA: 0x00007B4F File Offset: 0x00005D4F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return ActivityRaidPlacingGameScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170000A4 RID: 164
		// (get) Token: 0x06000252 RID: 594 RVA: 0x00007B61 File Offset: 0x00005D61
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return ActivityRaidPlacingGameScRsp.Descriptor;
			}
		}

		// Token: 0x06000253 RID: 595 RVA: 0x00007B68 File Offset: 0x00005D68
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ActivityRaidPlacingGameScRsp()
		{
		}

		// Token: 0x06000254 RID: 596 RVA: 0x00007B70 File Offset: 0x00005D70
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ActivityRaidPlacingGameScRsp(ActivityRaidPlacingGameScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			ActivityRaidPlacingGameScRsp.FAADJMHFJFHOneofCase faadjmhfjfhcase = other.FAADJMHFJFHCase;
			if (faadjmhfjfhcase != ActivityRaidPlacingGameScRsp.FAADJMHFJFHOneofCase.BJBPKKOPBMC)
			{
				if (faadjmhfjfhcase == ActivityRaidPlacingGameScRsp.FAADJMHFJFHOneofCase.HDCEPMKIMMG)
				{
					this.HDCEPMKIMMG = other.HDCEPMKIMMG;
				}
			}
			else
			{
				this.BJBPKKOPBMC = other.BJBPKKOPBMC;
			}
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06000255 RID: 597 RVA: 0x00007BCC File Offset: 0x00005DCC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ActivityRaidPlacingGameScRsp Clone()
		{
			return new ActivityRaidPlacingGameScRsp(this);
		}

		// Token: 0x170000A5 RID: 165
		// (get) Token: 0x06000256 RID: 598 RVA: 0x00007BD4 File Offset: 0x00005DD4
		// (set) Token: 0x06000257 RID: 599 RVA: 0x00007BDC File Offset: 0x00005DDC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x170000A6 RID: 166
		// (get) Token: 0x06000258 RID: 600 RVA: 0x00007BE5 File Offset: 0x00005DE5
		// (set) Token: 0x06000259 RID: 601 RVA: 0x00007BFC File Offset: 0x00005DFC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint BJBPKKOPBMC
		{
			get
			{
				if (!this.HasBJBPKKOPBMC)
				{
					return 0U;
				}
				return (uint)this.fAADJMHFJFH_;
			}
			set
			{
				this.fAADJMHFJFH_ = value;
				this.fAADJMHFJFHCase_ = ActivityRaidPlacingGameScRsp.FAADJMHFJFHOneofCase.BJBPKKOPBMC;
			}
		}

		// Token: 0x170000A7 RID: 167
		// (get) Token: 0x0600025A RID: 602 RVA: 0x00007C11 File Offset: 0x00005E11
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool HasBJBPKKOPBMC
		{
			get
			{
				return this.fAADJMHFJFHCase_ == ActivityRaidPlacingGameScRsp.FAADJMHFJFHOneofCase.BJBPKKOPBMC;
			}
		}

		// Token: 0x0600025B RID: 603 RVA: 0x00007C1C File Offset: 0x00005E1C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void ClearBJBPKKOPBMC()
		{
			if (this.HasBJBPKKOPBMC)
			{
				this.ClearFAADJMHFJFH();
			}
		}

		// Token: 0x170000A8 RID: 168
		// (get) Token: 0x0600025C RID: 604 RVA: 0x00007C2C File Offset: 0x00005E2C
		// (set) Token: 0x0600025D RID: 605 RVA: 0x00007C43 File Offset: 0x00005E43
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint HDCEPMKIMMG
		{
			get
			{
				if (!this.HasHDCEPMKIMMG)
				{
					return 0U;
				}
				return (uint)this.fAADJMHFJFH_;
			}
			set
			{
				this.fAADJMHFJFH_ = value;
				this.fAADJMHFJFHCase_ = ActivityRaidPlacingGameScRsp.FAADJMHFJFHOneofCase.HDCEPMKIMMG;
			}
		}

		// Token: 0x170000A9 RID: 169
		// (get) Token: 0x0600025E RID: 606 RVA: 0x00007C59 File Offset: 0x00005E59
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool HasHDCEPMKIMMG
		{
			get
			{
				return this.fAADJMHFJFHCase_ == ActivityRaidPlacingGameScRsp.FAADJMHFJFHOneofCase.HDCEPMKIMMG;
			}
		}

		// Token: 0x0600025F RID: 607 RVA: 0x00007C65 File Offset: 0x00005E65
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void ClearHDCEPMKIMMG()
		{
			if (this.HasHDCEPMKIMMG)
			{
				this.ClearFAADJMHFJFH();
			}
		}

		// Token: 0x170000AA RID: 170
		// (get) Token: 0x06000260 RID: 608 RVA: 0x00007C75 File Offset: 0x00005E75
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ActivityRaidPlacingGameScRsp.FAADJMHFJFHOneofCase FAADJMHFJFHCase
		{
			get
			{
				return this.fAADJMHFJFHCase_;
			}
		}

		// Token: 0x06000261 RID: 609 RVA: 0x00007C7D File Offset: 0x00005E7D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void ClearFAADJMHFJFH()
		{
			this.fAADJMHFJFHCase_ = ActivityRaidPlacingGameScRsp.FAADJMHFJFHOneofCase.None;
			this.fAADJMHFJFH_ = null;
		}

		// Token: 0x06000262 RID: 610 RVA: 0x00007C8D File Offset: 0x00005E8D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as ActivityRaidPlacingGameScRsp);
		}

		// Token: 0x06000263 RID: 611 RVA: 0x00007C9C File Offset: 0x00005E9C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(ActivityRaidPlacingGameScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && this.BJBPKKOPBMC == other.BJBPKKOPBMC && this.HDCEPMKIMMG == other.HDCEPMKIMMG && this.FAADJMHFJFHCase == other.FAADJMHFJFHCase && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06000264 RID: 612 RVA: 0x00007D08 File Offset: 0x00005F08
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.HasBJBPKKOPBMC)
			{
				num ^= this.BJBPKKOPBMC.GetHashCode();
			}
			if (this.HasHDCEPMKIMMG)
			{
				num ^= this.HDCEPMKIMMG.GetHashCode();
			}
			num ^= (int)this.fAADJMHFJFHCase_;
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06000265 RID: 613 RVA: 0x00007D82 File Offset: 0x00005F82
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06000266 RID: 614 RVA: 0x00007D8A File Offset: 0x00005F8A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06000267 RID: 615 RVA: 0x00007D94 File Offset: 0x00005F94
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.HasBJBPKKOPBMC)
			{
				output.WriteRawTag(8);
				output.WriteUInt32(this.BJBPKKOPBMC);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(24);
				output.WriteUInt32(this.Retcode);
			}
			if (this.HasHDCEPMKIMMG)
			{
				output.WriteRawTag(80);
				output.WriteUInt32(this.HDCEPMKIMMG);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06000268 RID: 616 RVA: 0x00007E08 File Offset: 0x00006008
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.HasBJBPKKOPBMC)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.BJBPKKOPBMC);
			}
			if (this.HasHDCEPMKIMMG)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.HDCEPMKIMMG);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06000269 RID: 617 RVA: 0x00007E78 File Offset: 0x00006078
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(ActivityRaidPlacingGameScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			ActivityRaidPlacingGameScRsp.FAADJMHFJFHOneofCase faadjmhfjfhcase = other.FAADJMHFJFHCase;
			if (faadjmhfjfhcase != ActivityRaidPlacingGameScRsp.FAADJMHFJFHOneofCase.BJBPKKOPBMC)
			{
				if (faadjmhfjfhcase == ActivityRaidPlacingGameScRsp.FAADJMHFJFHOneofCase.HDCEPMKIMMG)
				{
					this.HDCEPMKIMMG = other.HDCEPMKIMMG;
				}
			}
			else
			{
				this.BJBPKKOPBMC = other.BJBPKKOPBMC;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600026A RID: 618 RVA: 0x00007EE0 File Offset: 0x000060E0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600026B RID: 619 RVA: 0x00007EEC File Offset: 0x000060EC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 8U)
				{
					if (num != 24U)
					{
						if (num != 80U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.HDCEPMKIMMG = input.ReadUInt32();
						}
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					this.BJBPKKOPBMC = input.ReadUInt32();
				}
			}
		}

		// Token: 0x040000C5 RID: 197
		private static readonly MessageParser<ActivityRaidPlacingGameScRsp> _parser = new MessageParser<ActivityRaidPlacingGameScRsp>(() => new ActivityRaidPlacingGameScRsp());

		// Token: 0x040000C6 RID: 198
		private UnknownFieldSet _unknownFields;

		// Token: 0x040000C7 RID: 199
		public const int RetcodeFieldNumber = 3;

		// Token: 0x040000C8 RID: 200
		private uint retcode_;

		// Token: 0x040000C9 RID: 201
		public const int BJBPKKOPBMCFieldNumber = 1;

		// Token: 0x040000CA RID: 202
		public const int HDCEPMKIMMGFieldNumber = 10;

		// Token: 0x040000CB RID: 203
		private object fAADJMHFJFH_;

		// Token: 0x040000CC RID: 204
		private ActivityRaidPlacingGameScRsp.FAADJMHFJFHOneofCase fAADJMHFJFHCase_;

		// Token: 0x02001540 RID: 5440
		public enum FAADJMHFJFHOneofCase
		{
			// Token: 0x04005FBD RID: 24509
			None,
			// Token: 0x04005FBE RID: 24510
			BJBPKKOPBMC,
			// Token: 0x04005FBF RID: 24511
			HDCEPMKIMMG = 10
		}
	}
}
